using UnityEngine;
using UnityEngine.UI;
using QFramework;

namespace QFramework.Example
{
	public class UI_GameStartUIData : UIPanelData
	{
	}
	public partial class UI_GameStartUI : UIPanel
	{
		protected override void OnInit(IUIData uiData = null)
		{
			mData = uiData as UI_GameStartUIData ?? new UI_GameStartUIData();
			// please add init code here

			BtnClick();

        }


        public override void BtnClick()
        {
            base.BtnClick();

			StartBtn.onClick.AddListener(() =>
			{

				ScenceGetPanel.Show();

            });

			SettingsBtn.onClick.AddListener(() =>
			{

			});

			QuitBtn.onClick.AddListener(() =>
			{
				Application.Quit();
			});
        }
		protected override void OnOpen(IUIData uiData = null)
		{
		}
		
		protected override void OnShow()
		{
		}
		
		protected override void OnHide()
		{
		}
		
		protected override void OnClose()
		{
		}
	}
}
